import { Tools } from 'weaver-mobile';

/**
 * 绩效-考核结果分析共享设置-列表
 * jiansong 2019/6/11
 */
export const reportShareListApi = params => {
    let options = {
        method: 'GET',
        url: '/api/workrelate/performance/reportShareList',
        params: {...params}
    };
    return Tools.callApi(options);
};

/**
 * 绩效-考核结果分析共享设置-操作
 * jiansong 2019/6/11
 */
export const reportShareOperationApi = params => {
    let options = {
        method: 'POST',
        url: '/api/workrelate/performance/reportShareOperation',
        params: {...params}
    };
    return Tools.callApi(options);
};